Skip to content

Add some missing null checks #12840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Add some missing null checks #12840

wants to merge 2 commits into from

Conversation

nielsdos
Copy link
Member

I decided to go with the if (ex && (ZEND_CALL_INFO(ex) & ZEND_CALL_CODE)) { variant after all as it is consistent in error message with the existing errors; otherwise with if (!ex || (ZEND_CALL_INFO(ex) & ZEND_CALL_CODE)) { the error is inconsistent.

@nielsdos nielsdos closed this in 9a69bb2 Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants